package com.binfast.codegen;

import cn.hutool.log.Log;
import cn.hutool.log.LogFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.boot.web.servlet.support.SpringBootServletInitializer;

@SpringBootApplication
public class CodegenApplication extends SpringBootServletInitializer {

    private static final Log log = LogFactory.get();

    @Override
    protected SpringApplicationBuilder configure(SpringApplicationBuilder application) {
        return application.sources(CodegenApplication.class);
    }

    public static void main(String[] args) {
        SpringApplication.run(CodegenApplication.class, args);
        log.info(" =========== 正常启动 ============== ");;
    }

}
